import React from 'react';
import {inject, observer} from 'mobx-react';
import {WeaErrorPage, WeaTop, WeaTab, WeaRightMenu, WeaNewScroll} from 'ecCom';
import Main from './MyBlog/Main'
import "./Component/wea-modal.less"
import "./Component/wea-table.less"
import "./Component/wea-input.less"
import "./Component/wea-select-option.less"
import "./Component/wea-checkbox.less"
import "./Component/wea-tabs.less"
import "./Component/wea-ckeditor-content.less"
import "../style/icon.css"


@inject('blogMyBlog')
@observer
class MyBlog extends React.Component {
  constructor(props) {
    super(props);
  }

  componentDidMount() {
  }

  componentWillReceiveProps(nextProps) {

  }

  componentWillUnmount() {
    //组件卸载时一般清理一些状态
  }

  render() {
    const {query = {}} = this.props.location;
     return (
      <div>
        <Main ecId={`${this && this.props && this.props.ecId || ''}_Main@l10wyi`} params={query}/>
      </div>
    )
  }
}

export default MyBlog
